
#ifndef WEAPON_H
#define WEAPON_H

#include <QPixmap>


class weapon
{
public:
    weapon();

    void updatePosition();


public:
    QPixmap m_weapon1,m_weapon2;
    int m_x4;
    int m_x5;
    int m_y4;
    int m_y5;
    //边框，碰撞检测
    QRect m_rect4;
    QRect m_rect5;

    bool m_free4;
    bool m_free5;
    int m_speed;

};

#endif // WEAPON_H
